﻿using System.ComponentModel.DataAnnotations;

namespace DiNinject.Web.UI.Models.Person
{
    /// <summary>
    /// Model was nur zum Bearbeiten der Personendaten benötigt wird.
    /// </summary>
    public class PersonEditModel
    {
        #region Member
        public int Id { get; set; }

        [Required]
        public string Vorname { get; set; }

        [Required]
        public string Nachname { get; set; }

        [Required]
        public string Benutzername { get; set; }

        public int Alter { get; set; }
        #endregion
    }
}